<?php
/**
 * Created by PhpStorm.
 * User: liuxiaojie
 * Date: 2019-02-24
 * Time: 21:01
 */

namespace app\model;

class JobWelfare extends BaseModel{


    static function allData(){

        $result = db('job_welfare')->where(['status'=> 1])->field('id, name')->select();

        return $result;

    }

}